package com.hades.example.java.refactoring.after.c10.c10_13_encapsulate_downcast;

import java.util.Stack;

public class Site {
    Stack<Object> readings = new Stack<>();

    Reading lastReading() {
        return (Reading) readings.lastElement();
    }
}
